package com.gilight.base.uiapp.category;



import com.gilight.base.base.exception.ServiceException;
import com.gilight.base.dto.CategoryDTO;

import java.util.List;

/**类目服务
 * Created by rize on 2019/7/2.
 */
public interface CategoryService {

    /**
     * 获取类目列表
     * @return
     * @throws ServiceException
     */
    public List<CategoryDTO> categoryList(Integer isBaiHuo, Long zzjgId) throws ServiceException;

    /**
     * 获取分类父节点
     * @param categoryId
     * @return
     * @throws ServiceException
     */
    public List<Long> getCategoryFamily(
            Long categoryId) throws ServiceException;

}
